package org.ramoths.netcom.messagesSession;

import java.io.Serializable;

public class MsgInputStreamPortion implements Serializable
{
	private static final long serialVersionUID = 4156687220801114809L;
	private int id;
	private byte[] donnees;
	
	public MsgInputStreamPortion()
	{
		this.id = 0;
		this.donnees = null;
	}
	
	public MsgInputStreamPortion(int id, byte[] donnees)
	{
		this.id = id;
		this.donnees = donnees;
	}
	
	public int getId()
	{
		return id;
	}
	
	public void setId(int id)
	{
		this.id = id;
	}
	
	public byte[] getDonnees()
	{
		return donnees;
	}
	
	public void setDonnees(byte[] donnees)
	{
		this.donnees = donnees;
	}
}
